<?php
/**
 * Resource for settings view options
 */
class BRail_Application_Resource_View extends Zend_Application_Resource_View
{
    /**
     * Defined by Zend_Application_Resource_Resource
     *
     * @return Zend_View
     */
    public function init()
    {
        $view = parent::init();
        $options = $this->getOptions();
        $view->headTitle()->setSeparator(' - ')->append($options['title']);
        return $view;
    }
}